import ToolActionApi from "@/tool/http/tool-action.js";

let actionThingsProduct = ToolActionApi.init("things_product");

const rule = {
  queryParams: [],
  metadata: [
    { name: "id" },
    {
      name: "product_id",
      memo: "产品信息",
      dictListFun: async () => {
        return await actionThingsProduct.dict();
      },
    },
  ],
};

export default async function () {
  return rule;
}
